$OpenBSD: patch-chrome_browser_task_manager_sampling_task_manager_impl_cc,v 1.3 2017/04/28 14:21:00 robert Exp $
--- chrome/browser/task_manager/sampling/task_manager_impl.cc.orig.port	Wed Apr 19 21:06:30 2017
+++ chrome/browser/task_manager/sampling/task_manager_impl.cc	Thu Apr 27 19:56:00 2017
@@ -180,7 +180,7 @@ void TaskManagerImpl::GetUSERHandles(TaskId task_id,
 }
 
 int TaskManagerImpl::GetOpenFdCount(TaskId task_id) const {
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
   return GetTaskGroupByTaskId(task_id)->open_fd_count();
 #else
   return -1;
